import http from '../index'

/**
 * 获取视频的播放信息
 *
 */

export const _getEnentBmp = () => {
  return http({
    url: `/file-bmp/event.bmp?v=${Date.now()}`,
    noApiPrefix: true, // 不加 `/api` 的情况
    method: 'get',
    responseType: 'arraybuffer', // responseType 应该在这里
  })
}

export const _getEnentVersion = () => {
  return http({
    url: `/parameter/v1/device-system/cache-version`,
    method: 'get',
  })
}
